package com.smedi.ismedi.inmail.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 总院发布的通知公告请求
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "流程实例 关闭 请求")
public class ProcessInstanceCloseRequest implements Serializable {

    /**
     * 流程定义
     */
    @NotBlank
    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    /**
     * 业务编码
     */
    @NotBlank
    @ApiModelProperty(value = "业务编码")
    private String businessCode;

    /**
     * 业务类型
     */
    @NotBlank
    @ApiModelProperty(value = "业务类型")
    private String businessType;

    /**
     * 关闭原因
     */
    @ApiModelProperty(value = "关闭原因")
    private String comment;
}